package com.wjq.registration.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wjq.registration.entity.Record;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wjq
 * @since 2020-06-09
 */
public interface RecordMapper extends BaseMapper<Record> {

    IPage<Record> findAll(Page<Record> page, Record r);

    List<Record> findByName(String key);
}
